package com.bayihouse.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.*;

/**
 * @TableName outperson
 */
@TableName(value = "outperson")
@Data
@EqualsAndHashCode
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class OutPerson implements Serializable {
    /**
     * 外来人员Id
     */
    @TableId
    private Long id;

    /**
     * 外来人员姓名
     */
    private String name;

    /**
     * 外来人员电话
     */
    private String telephone;

    /**
     * 0-代表女生，1-代表男生
     */
    private Integer sex;

    /**
     * 登记时间
     */
    private Date createtime;

    /**
     * 目的地
     */
    private String destination;

    /**
     * 事由
     */
    private String reason;

    /**
     * 房间Id
     */
    private Long roomId;


    @TableLogic
    private Integer isDelete;

    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}